package cn.wubo.task.order.statistics.service;

import cn.wubo.task.order.statistics.entity.TaskOrderPersonDate;
import cn.wubo.task.order.statistics.record.PersonCalendarRecord;
import cn.wubo.task.order.statistics.record.PersonCalendarResultRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 * 任务单工时 服务类
 * </p>
 *
 * @author baomidou
 * @since 2024-11-07
 */
public interface ITaskOrderPersonDateService extends IService<TaskOrderPersonDate> {

    Boolean upload(String taskOrderId, Workbook wb);

    Boolean removeByTaskOrderId(String taskOrderId);

    PersonCalendarResultRecord searchPersonCalendar(String year, List<String> personNames);

    PersonCalendarResultRecord searchPersonMonth(String year, List<String> personNames);
}
